package airmob.minimal;

import android.content.Context;
import rendercomponents.Identifier;
import rendercomponents.Light;
import rendercomponents.Model3D;
import rendercomponents.ModelCube;
import rendercomponents.ModelCustom;
import rendercomponents.ModelFileTypes;
import rendercomponents.Renderer;
import rendercomponents.Scene;
import rendercomponents.Texture;

public class SampleRenderer extends Renderer {
	
	Model3D sampleModel = null;
	public Scene sampleScene;
	public String modelPath = "";	
	public Identifier modelID;

	public SampleRenderer(Context context) {
		super(context);
		modelPath = "markertest.obj";
		// TODO Auto-generated constructor stub
	}
	
	@Override //override the scene
	public void putScene(){
		sampleScene = new Scene(this);
	    this.scene = sampleScene;   	  
	    modelPath = "models/" + modelPath;    	
    	sampleModel = new ModelCustom(this, modelPath, ModelFileTypes.OBJ);    	
    	modelID = sampleScene.add(sampleModel);    	
    	Light testLight = new Light();
    	sampleScene.add(testLight);    	
	}
}
